"""
ASGI config for backend project.

It exposes the ASGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/5.2/howto/deployment/asgi/
"""

import os

from django.core.asgi import get_asgi_application

# 配置Django设置模块，指定Django项目的设置模块位置：backend.settings
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'backend.settings')

# 初始化ASGI应用，定义应用入口点
application = get_asgi_application()
